package com.ruoyi.lock.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.springframework.data.annotation.Transient;

/**
 * 预警信息对象 a_waring_info
 * 
 * @author ruoyi
 * @date 2024-08-06
 */
@Data
public class AWaringInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;



    /** mac */
    @Excel(name = "mac")
    private String mac;

    /** 报警类型 */
    @Excel(name = "报警类型", readConverterExp = "1=故障上报,2=设备被撬")
    private String waringType;

    /** 处理状态 */
    @Excel(name = "处理状态", readConverterExp = "0=未处理,1=已处理")
    private String state;

    /** 上报内容 */
    @Excel(name = "上报内容")
    private String remark;

    /** 处理结果 */
    @Excel(name = "处理结果")
    private String remark2;

    /** 照片 */
    @Excel(name = "照片")
    private String img;


    
    @Transient
    private Integer pageNum;
    
    @Transient
    private Integer pageSize;

    private Long agentsid;
    private String agentsName;

    private Long lcid;
    private String lcName;

    /** 楼栋id */
    @Excel(name = "楼栋id")
    private Long ldid;
    private String ldName;

    /** 小区id */
    @Excel(name = "小区id")
    private Long cellid;
    @Transient
    private String cellName;
    // 以下字段用于查询和显示，不对应数据库字段
    @Transient
    private String roomName;
    @Transient
    private String unitName;
    @Transient
    private String floorName;

    private String homeId;

    @Transient
    private Long deptId;

    private String unionid;
    private String tenantId;



}
